<template>
    <router-view v-if="isRouterAlive" />
</template>
<script lang="ts">
import { computed } from "vue";
import { UserModule } from "@/store/modules/user";
export default {
    setup() {
        const isRouterAlive = computed(() => {
            return UserModule.isRouterAlive;
        });
        return {
            isRouterAlive,
        };
    },
};
</script>
<style lang="less">
@import '@/assets/css/initial.less';
</style>
 